package com.appistry.management;

import java.io.InputStream;

import com.appistry.management.exception.FabricManagerException;

public interface FabricFile {
	/**
	 * Gets the name of this FabricFile
	 * @return
	 */
	public String getName();
	
	/**
	 * Retrieves the FabricFile
	 * @return
	 * @throws FabricManagerException
	 */
	public InputStream getInputStream() throws FabricManagerException;
	
	/**
	 * Deletes this file from the fabric
	 * @return
	 * @throws FabricManagerException
	 */
	public boolean delete() throws FabricManagerException;
}
